<template>
    <!-- 当页面 this.service.onQuery 的时候加载 -->
	<div class="cc-page-init" v-loading="loading" id="root" 
        element-loading-text="数据加载中"
        element-loading-background="rgba(0, 0, 0, 0.01)"
        style="height:calc(100% - 10px); width:calc(100% - 15px); background:#fff;">
		<!-- 页面内容 默认不展示 -->
        <slot></slot>
	</div>
</template>

<script>
module.exports = {
    data: function() {
        return {
        }
    },
    created: function() {
        // console.log('page init ' + this.init);
    },
    props: {
        init: Boolean,
        loading: {
            default: true,
            type: Boolean
        }
    }
}
</script>

<style>
</style>